package com.example.demo.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "更新操作员入参", description = "更新操作员入参")
public class OperatorUpdateParam extends BaseParam {

    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "操作员id", name = "id", required = true, example = "1")
    private Long id;

    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码", name = "password", required = true, example = "123456")
    private String password;
}
